FROM centos:7
#RUN yum -y check-update || { rc=$?; [ "$rc" -eq 100 ] && exit 0; exit "$rc"; }
RUN yum -y install gcc automake autoconf libtool make net-tools6 telnet python36 which \
    && rm -f /usr/bin/python \
    && ln -s /usr/bin/python3 /usr/bin/python \
    && curl https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py && python /tmp/get-pip.py \
    && echo "run end"

ENTRYPOINT ["top", "-b"]
CMD ["-c"]

